﻿import request from '@/utils/request'
import scope from './scope'
const apiPrefix = `${process.env.VUE_APP_BASE_IOT_API}/${scope}/RealNameVerify/`

// 运营商实名验证管理管理
export const getPageList = (params, config = {}) => {
    return request.post(apiPrefix + 'page-list', params, config)
}
export const getCarrierOperatorRealNameVerify = (params, config = {}) => {
    return request.get(apiPrefix + "carrier-operator/" + params.id, { params: params, ...config })
}
export const addOrupdateRealNameVerify = (params, config = {}) => {
    return request.put(apiPrefix + "add-or-update", params, config)
}
export const softDelete = (params, config = {}) => {
    return request.delete(apiPrefix + params.id, { params: params, ...config })
}
export const batchSoftDelete = (params, config = {}) => {
    return request.delete(apiPrefix + 'ids', { data: params, ...config })
}